package com.adee.gulimall.product.feign.fallback;

import com.adee.gulimall.util.utils.R;
import com.adee.gulimall.product.feign.WareFeignService;
import org.springframework.stereotype.Component;

@Component
public class WareFallbackFeignService implements WareFeignService {
    @Override
    public R<Integer> skuStock(Long skuId) {
        return R.error(429, "sku库存服务熔断降级。。。");
    }
}
